<include file="Public:header" />
            <div class="content">
                <div class="content-title">
                    <div class="content-title-top">
                        <img src="__RES_ROOT__/ader&siter/images/dianimg.png" alt="">
                        <b>广告计划类型筛选</b>
                    </div>
                    <div class="content-title-bottom">
                        <img src="__RES_ROOT__/ader&siter/images/ganthao.png" alt="">
                        <span>当前为订单管理页面，您可以查看或取消订单！</span>
                        <a href="">< 返回</a>
                    </div>
                </div>
                <form action="?c=Zone&a=doSave" method="post" id="form1" go="siter.php?c=Zone">
                    <input type="hidden" name="id">
                   <input type="hidden" name="type">
                <div class="content-edit">
                    <div class="content-edit-title"><span><b>广告名称:</b> <input type="text" name="name"/></span> <span><b>创建时间:</b> <i>{$record.create_time}</i></span></div>
                    <div class="content-edit-type"><span><b>广告位类型:</b> <i>{$record.type|strtoupper}</i> </span> <span> <b>计费类型:</b> <i>{$record.plan_type|strtoupper}</i></span></div>
					<div class="content-edit-select"><b></b></div>
					<div id="plan-list-msg"></div>
					<div id="plan-list-container"></div>
                </div>
            </div>
            <div class="submit"><input type="submit" value="保存"/>&nbsp;<a href="javascript:history.back()">返回</a></div>
            </form>
			<div class="space"></div>
			<div class="foot">
				<img src="__RES_ROOT__/ader&siter/images/down_r.jpg" alt="">
			</div>
        </div>
<div id="t-plan-list" class="tpl">
{{each records as v k}}
<ul class="plan-list-row" id="plan-list-row-{{v.id}}">
	<li class="select-ad">选择广告:</li>
	<li class="plan-list-row__name"><b>广告计划：</b><i>{{v.name}}</i></li>
	<li class="plan-list-row__type"><b>计费类型：</b><i>{{v.type}}</i></li>
	<li class="plan-list-row__ad-num"><b>广告数量：</b><i>{{v.ad_num}}个</i></li>
	<li class="plan-list-row__act">展开</li>
</ul>
{{/each}}
</div> <!--/#t-plan-list-->

<textarea id="t-ad-list" class="tpl">
<ul class="ad-list-header ad-list-row">
	<li class="ad-list-row__id">广告编号</li>
	<li class="ad-list-row__title">标题</li>
	<li class="ad-list-row__img">图片</li>
	<li class="ad-list-row__act">&nbsp;</li>
</ul>
{{each records as v}}
<ul class="ad-list-row">
	<li class="ad-list-row__id">{{v.id}}</li>
	<li class="ad-list-row__title">{{v.zl_title}}</li>
	<li class="ad-list-row__img"><img src="{{v.zl_img_url}}"></li>
	<li class="ad-list-row__act"><input type="radio" name="ad_id" value="{{v.id}}"></li>
</ul>
{{/each}}
</textarea> <!--/#t-ad-list-->
<script src="__RES_ROOT__/js/lib.js"></script>
<script>
	var record = {};
	<notempty name="record">
	record = {$record|json_encode};
	</notempty>
	var model = new Model(record);
	new Form($('#form1'), model);
	$(function() {
		Zone.modify.init(model);
	})
</script>
    </body>
	<include file="Public:current"/>
</html>

